package com.wsj.listen;

import org.springframework.context.ApplicationListener;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Configuration;

//上下文监听器
@Configuration
public abstract class TestApplicationListener implements ConfigurableApplicationContext {

  @Override
  public void addApplicationListener(ApplicationListener<?> listener) {
    System.out.println("addApplicationListener......");
  }

}
